package de.koller.rRender.szene.simple;

import de.koller.rRender.convert.RenderFrame;
import de.koller.rRender.szene.IGenerate;
import java.awt.Color;
import java.awt.Graphics2D;

public class MoveTest implements IGenerate {

	private int x = 0;
	
	@Override
	public void generateFrame( RenderFrame frame ) {
		Graphics2D g = frame.createGraphics();
		
		g.setColor( Color.RED );
		g.fillOval( x-100, 720/2-100, 200, 200 );
		
		x += (int)(1280. / 120. / 5.);
	}
	
}
